<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物首页</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }
        .container {
            width: 80%;
            margin: 0 auto;
            padding: 20px;
        }
        .header {
            background-color: #333;
            color: #fff;
            padding: 10px 0;
            text-align: center;
        }
        .header a {
            color: #fff;
            text-decoration: none;
            margin: 0 10px;
        }
        .product {
            margin-bottom: 20px;
            padding: 10px;
            background-color: #fff;
            border: 1px solid #ddd;
        }
        .product img {
            width: 100%;
            height: auto;
        }
        .footer {
            background-color: #333;
            color: #fff;
            text-align: center;
            padding: 10px 0;
            position: fixed;
            width: 100%;
            bottom: 0;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>简单电商首页</h1>
            <a href="/login.html">登录</a> | <a href="/register.html">注册</a>
        </div>
        <div class="product">
            <img src="/image/1.jpg" alt="产品1">
            <h3>产品1</h3>
            <p>价格：¥100</p>
        </div>
        <div class="product">
            <img src="/image/2.jpg" alt="产品2">
            <h3>产品2</h3>
            <p>价格：¥200</p>
        </div>
        <div class="product">
            <img src="/image/3.jpg" alt="产品3">
            <h3>产品3</h3>
            <p>价格：¥300</p>
        </div>
    </div>
    <div class="footer">
        <p>版权所有 © 2025</p>
    </div>
</body>
</html>